namespace Graph
{
    /// <summary>
    /// Represents an edge in a directed, unweigthed graph
    /// </summary>
    public class Edge
    {
        private Vertex _from;
        private Vertex _to;

        public Edge(Vertex from, Vertex to)
        {
            this._from = from;
            this._to = to;
        }

        public Vertex From
        {
            get
            {
                return _from;
            }
        }

        public Vertex To
        {
            get
            {
                return _to;
            }
        }
    }
}
